<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="/misc/css/base.css"  />
<link rel="stylesheet" type="text/css" href="/misc/css/btnicon.css"  />
<link rel="stylesheet" type="text/css" href="/misc/css/reset_admin.css"  />
<link rel="stylesheet" type="text/css" href="/misc/css/adminmenu.css"  />
<link rel="stylesheet" type="text/css" href="/misc/css/newadmin.css"  />
<script type="text/javascript" src="/misc/vendors/jquery/jquery_1.2.6.js"></script>
<script type="text/javascript" src="/misc/vendors/o2js/o2js.js"></script>
<script type="text/javascript" src="/misc/vendors/o2js/o2js_build.js"></script>
<script type="text/javascript" >
var baseUrl = "<?=$themeUrl?>";
$().ready(function(){
 
});
var grids;
</script>
</head>
<body style="background-color:#fcfcfc"> 
<script type="text/javascript">
 
$().ready(function(){  
	o2js.build('jquery_cluetip');
	showLoading();   

	$('a.showinfo').cluetip({
		cluetipClass: 'jtip', 
		sticky: true,
		arrows: true, 
		dropShadow: false,
		closePosition: 'title',
		mouseOutClose: true,
		width:250,
		height:400
	}).each(function(){
		$(this).click(function(e){
			stopDefault(e);
		});
	});

});
</script>
<div style="margin:10px;">
	<div class="blockdiv">
		<div class="titlediv">配送批次信息</div>
		<table class="mytable" > 
			<tr>
				<td class="mylabel"> 分支标识：</td>
				<td class="myinfo" > 
					{$rs.name}
				</td> 
				<td class="mylabel">创建日期： </td>
				<td class="myinfo" > 
					{$rs.created}
				</td> 
			</tr> 
			<tr>
				<td class="mylabel"> 配送会员人数：</td>
				<td class="myinfo" > 
					{$rs.users}
				</td>
				<td class="mylabel"> 配送包装种类数：</td>
				<td class="myinfo" > 
					{$rs.packetnum}
				</td>
			</tr>	
		</table> 
	</div>
</div>
<style type="text/css">
table.packettb{
border-collapse:collapse;

}
table.packettb td{
border:1px solid #E8E8E8;
}
table.packettb tbody td.title{
color:#FF6600;
font-size:18px;
font-weight:bold;
padding:10px;
text-align:center;
}
table.packettb tbody td.info{
color:#666666;
font-size:14px;
padding:10px;

}
table.packettb thead th{
padding:7px;
background:#E9F7DF;
color:#666666;
border:1px solid #E8E8E8;
text-align:center;
}

.packetspan{
position:absolute;
top:-5px;
left:-5px;
display:block;
padding:5px;
border:1px solid #CCCCCC;
color:#009900;
background-color:#D8FEEA;
font-size:12px;
font-weight:bold;
border-radius:10px;
}

</style>
<div style="margin:10px;">
	<div class="blockdiv">
		<div class="titlediv">配送会员（共 {count($rs_send)} 人）</div>
		<table class="packettb">
			<thead>
				<tr>
					<th style="width:28px;">
						序号
					</th>
					<th style="width:60px;">
						会员类型
					</th>
					<th style="width:50px;">
						会员编号
					</th>
					<th style="width:60px;">
						会员姓名
					</th>
					<th style="width:500px;">
						配送菜品
					</th>
				</tr>
			</thead>
			<tbody>
			<?PHP
			foreach($rs_send as $k=>$v){
				echo '
				<tr>
					<td  >'.($k+1).'</td>
					<td  >'.$v['classes'].'</td>
					<td  >'.$v['username'].'</td>
					<td  >'.$v['name'].'</td>
					<td  >';
				echo '<div style="position:relative;padding-left:10px;">';
				//echo '	<div class="packetspan" title="第'.$packetindex[$v['packet']].'种配送包装">'.$packetindex[$v['packet']].'</div>';
		 
				echo $v['veges_html']; 
				  
				echo '</div>
					</td>
				</tr>
				';
			}
			?>
			</tbody>
		</table>
	</div>
</div>

</body>
</html>